package com.efast.dmom.mes.service;

import java.util.List;

import com.efast.dmom.mes.bean.Equipment;
import com.efast.dmom.mes.bean.ResultBean;

/**
* @author Aaron Liu
* @version Creation Time：2020年2月4日 下午6:59:29
*/
/**
 * @author Administrator
 *
 */
public interface EquipmentService {

	public void saveEquipmentList(List<Equipment> equipList);
	
	public ResultBean save(Equipment equipment);

	public ResultBean update(Equipment equipment);

	public ResultBean delete(Equipment equipment);

	public Equipment getById(long id);

	public Equipment getByName(String name);
	
	public Equipment getByCode(String equipmentCode);
	
	public List<Equipment>selectEquipBaseInfoData();
	
	public List<Equipment> selectEquipSpareDaoJuInfo();
	
	public List<Equipment>  selectEquipSpareDaoJuInfoByCode(String code);
}
